import Http from '@/utils/axios'

export default {
  verify(param) {
    return Http.post('/login/verify', param)
  },
  publicKey() {
    return Http.get('/login/public-key')
  },
  login(param) {
    return Http.post('/login', param)
  },
  register(param) {
    return Http.post('/user/register', param)
  },
}
